package com.itheima.redis;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;
import redis.clients.jedis.Jedis;

@SpringBootApplication
public class SpringBootRedisTextApplication {

	public static void main(String[] args) {
		ConfigurableApplicationContext context = SpringApplication.run(SpringBootRedisTextApplication.class, args);
		Jedis jedis = context.getBean(Jedis.class);
		System.out.println(jedis);
	}

}
